import axios from '@/http/index';
// import axios from "../../../http/index"
// export const emergency = () => {
//   return axios({
//     url: '/eventCount/emergency',
//     method: 'post'
//   });
// };
export const emergency_add = (option: string) => {
  return axios({
    url: '/monitor/eventCount/add',
    method: 'post',
    data: option
  });
};
export const repair = (option: string) => {
  return axios({
    url: '/monitor/eventCount/delete',
    method: 'post',
    data: option
  });
};
/* 应急监控单 */
export function emergency() {
  return axios({
    url: '/monitor/eventCount/emergency',
    method: 'post'
  });
}
